package kcms.assignment.dao;

import java.util.List;

import kcms.db.Assign;
import kcms.db.Assignment;
import kcms.db.Assignmentcontent;
import kcms.db.Assignmentscore;

public interface AssignmentDao {

	public boolean saveNewTask(Assignment as);

	public List<Assign> getAllAssignBySid(String id);

	public Assign getAssignByAid(String aid);

	public Assignmentcontent getAssignmentcontentByAid(Integer assignmentid);

	public boolean deleteAssignmentcontent(Assignmentcontent asc);

	public boolean saveContentRecord(Integer assignmentid, String docFileName,
			String filename);

	public List<Assign> getAllAssignByCidCsn(String cid, String csn);

	public List<Assign> getAllAssignByCidCsnAsn(String cid, String csn,
			String assignmentsn);

	public List<Assign> getAllAssignByAsn(String assignmentsn);

	public Assign getAssignBySidAsn(String sid, String asn);

	public boolean saveNewScore(Assignmentscore assignmentscore);

	public boolean deleteAssign(String assignmentsn);

}
